package com.lsl.builder_pattern.example.example2.concretebuilder;

import com.lsl.builder_pattern.example.example2.builder.ActorBuilder;

/**
 * description:英雄角色建造器：具体建造者
 *
 * @author: liushengli
 * data: 2022/12/15
 */
public class HeroBuilder extends ActorBuilder {

    public void buildType() {

        actor.setType("英雄");

    }

    public void buildSex() {

        actor.setSex("男");

    }

    public void buildFace() {

        actor.setFace("英俊");

    }

    public void buildCostume() {

        actor.setCostume("盔甲");

    }

    public void buildHairstyle() {

        actor.setHairstyle("飘逸");

    }

}

